package com.hcc.unitTest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 店铺信息表
 * </p>
 *
 * @author admin
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop")
public class Shop extends Model<Shop> {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 店铺名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 店铺简称
     */
    @TableField("short_name")
    private String shortName;

    /**
     * 店铺所属平台
     */
    @TableField("platform")
    private String platform;

    /**
     * 逻辑删除
     */
    @TableField("logic_delete")
    private Integer logicDelete;

    /**
     * 更新时间
     */
    @TableField("modified_time")
    private LocalDateTime modifiedTime;

    /**
     * 更新人
     */
    @TableField("modifier")
    private Long modifier;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @TableField("creator")
    private Long creator;


    public static final String ID = "id";

    public static final String SHOP_NAME = "shop_name";

    public static final String SHORT_NAME = "short_name";

    public static final String PLATFORM = "platform";

    public static final String LOGIC_DELETE = "logic_delete";

    public static final String MODIFIED_TIME = "modified_time";

    public static final String MODIFIER = "modifier";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATOR = "creator";


}
